package com.aaa.order.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;

/**
    * 用户收货地址
    */
@Data
@TableName(value = "tb_acc_address")
public class TbAccAddress {
    @TableId(value = "tid", type = IdType.UUID)
    private String tid;

    /**
     * 账户
     */
    @TableField(value = "account_id")
    private String accountId;

    /**
     * 收货姓名
     */
    @TableField(value = "real_name")
    private String realName;

    /**
     * 收货地址
     */
    @TableField(value = "real_address")
    private String realAddress;

    /**
     * 收货电话
     */
    @TableField(value = "real_phone")
    private String realPhone;

    /**
     * 是否常用地址
     */
    @TableField(value = "is_flu")
    private String isFlu;

    @TableField(value = "create_by")
    private String createBy;

    @TableField(value = "create_date")
    private String createDate;

    @TableField(value = "update_by")
    private String updateBy;

    @TableField(value = "update_date")
    private String updateDate;

    @TableField(value = "remark")
    private String remark;

    @TableField(value = "version")
    private Integer version;

    @TableField(value = "state")
    private Integer state;

    public static final String COL_TID = "tid";

    public static final String COL_ACCOUNT_ID = "account_id";

    public static final String COL_REAL_NAME = "real_name";

    public static final String COL_REAL_ADDRESS = "real_address";

    public static final String COL_REAL_PHONE = "real_phone";

    public static final String COL_IS_FLU = "is_flu";

    public static final String COL_CREATE_BY = "create_by";

    public static final String COL_CREATE_DATE = "create_date";

    public static final String COL_UPDATE_BY = "update_by";

    public static final String COL_UPDATE_DATE = "update_date";

    public static final String COL_REMARK = "remark";

    public static final String COL_VERSION = "version";

    public static final String COL_STATE = "state";
}